import ajax from '@/common/ajax.js'

export const commonConfig = function (data) {
    return ajax.post({
        url: '/api/common/config',
        data: data
    })
}

export const getNewsList = function (data) {
    return ajax.post({
        url: '/api/common/getNewsList',
        data: data
    })
}

export const getNewsInfo = function (data) {
    return ajax.post({
        url: '/api/common/getNewsInfo',
        data: data
    })
}

export const getYunList = function (data) {
    return ajax.post({
        url: '/api/common/getYunList',
        data: data
    })
}

export default {
	commonConfig,
    getNewsList,
    getNewsInfo,
    getYunList
}